package com.shoppingmall.dao;

import org.apache.ibatis.annotations.Select;

import com.shoppingmall.bean.UserLoginBean;

/**
 * 登陆数据访问层接口
 * @author LIU
 * @version 1.0 2017-11-8
 */
public interface LoginDao {

	
	/**
	 * 登陆查询
	 * @param userLogin
	 * @return boolean
	 */
	@Select("select count(user_id) from user_login where username=#{username} and password=#{password}")
	int getUserLoginCount(UserLoginBean userLogin);

	
	
}
